type Box<T> = {
    name:T
}

let b:Box<string> = {
    name: "无敌爆爆龙",
}

interface Result{
    status:number,
    data:string
}
let r:Result = {
    status:3455,
    data:"无敌爆爆龙66"
}
interface Result1<T>{
    status:any,
    data:T
}
let r1:Result1<string> = {
    status:22,
    data:"无敌爆爆龙666"
}
let r2:Result1<number> = {
    status:"宇宙无敌爆龙战士",
    data:22
}
let r3:Result1<{name:string,age:number}> = {
    status:true,
    data:{
        name:"宇宙无敌爆龙战士族长",
        age:88888
    }
}
console.log(r3)